/**
 * grayrabbit Inc.
 * Copyright (c) 2011-2012 All Rights Reserved.
 */
package com.grayrabbit.slacker.config;

import java.util.Map;

/**
 * xml 配置属性标签对应类
 * 
 * @author liyd
 * @version $Id: Properties.java, v 0.1 2012-5-11 上午9:31:37 liyd Exp $
 */
public class Property {

    /** 属性名称 */
    private String                  name;

    /** 属性值 */
    private String                  value;

    /** 属性标签子属性 */
    private Map<String, Property> childProperties;

    /**
     * Getter method for property <tt>name</tt>.
     * 
     * @return property value of name
     */
    public String getName() {
        return name;
    }

    /**
     * Setter method for property <tt>name</tt>.
     * 
     * @param name value to be assigned to property name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter method for property <tt>value</tt>.
     * 
     * @return property value of value
     */
    public String getValue() {
        return value;
    }

    /**
     * Setter method for property <tt>value</tt>.
     * 
     * @param value value to be assigned to property value
     */
    public void setValue(String value) {
        this.value = value;
    }

    /**
     * Getter method for property <tt>childProperties</tt>.
     * 
     * @return property value of childProperties
     */
    public Map<String, Property> getChildProperties() {
        return childProperties;
    }

    /**
     * Setter method for property <tt>childProperties</tt>.
     * 
     * @param childProperties value to be assigned to property childProperties
     */
    public void setChildProperties(Map<String, Property> childProperties) {
        this.childProperties = childProperties;
    }

}
